package com.yyyzzz.DAO;


import com.yyyzzz.bean.Course;
import com.yyyzzz.bean.Teacher;

import java.sql.SQLException;
import java.util.List;

public interface teacherDao {
    int insterteacher(Teacher teacher) throws ClassNotFoundException, SQLException;
    int deleteTeacher (int teacherNo) throws ClassNotFoundException, SQLException;
    int modifyTeacher(Teacher teacher) throws ClassNotFoundException, Exception;
    List getList(int teacherNo) throws ClassNotFoundException, Exception;
    List getList(String courseteacher)throws Exception;
}
